<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>信息输入</title>
</head>
<body>
      <script>
        // 浏览器弹窗（输入框）
             var i = prompt("请你输入") 
               document.write(i)
      </script>
</body>
</html>